What coin are you mining? Considering you are talking about finding a block within a few days I doubt it is BTC. If it is an altcoin then move this to the altcoin mining area as this area is exclusively for BTC.
I believe Yiimp is an open-source pool project that can be deployed locally for testing and experimentation. I'm not sure how many public pools currently use the software, so it's possible the original poster (OP) is running a testnet or, as you mentioned, working with an altcoin. We should clarify that before suggesting the post be moved to the altcoin section.
@OP, I haven't personally looked into Yiimp's code or documentation, but what you described might actually be "normal" behavior depending on the pool's payout method -- particularly if it's using PPLNS.
To give a simplified (though not entirely accurate) example to help illustrate how PPLNS works: imagine a pool requires 100 shares over a month to solve a block. Miner A mines on day one and submits 50 shares, then goes offline permanently. Over the next 29 days, 50 other miners come online and each submits one share. When the block is eventually found, Miner A would receive 50% of the reward, because they contributed 50 of the last 100 shares. The remaining miners would each get 1%, since each of their contributions makes up 1% of the eligible share window.
So in PPLNS, being "disconnected" doesn't necessarily affect your payout -- it's all about how many valid shares you submitted in the qualifying window.