For me your miner is way more stable than ewfb's. While ewfb's simply hangs in 24-48hrs period on Windows and even sooner under Ubuntu, yours working stable. If only I could figure out how to overclock under Linux on a headless rig...
EDIT: However, It disconnected today twice. Once it just said server disconnected (i'm using nanopool) and failed to restore the connection, despite internet was working flawelessly on all other devices in a household. Restart of the miner itself immediately fixed the issue. And the second time it started throwing some connection errors, and again everything else worked like a charm. Restart fixed it as well.
Thx for reporting. Working internet doesn't mean the server is reachable, the server itself might have issues - however I've fixed a bug in my reconnection procedure which was introduced by a change of error codes in one of my functions. I'm currently testing 0.5.1, if it passes tests I'll upload it today.
If it starts throwing connections errors pls post them here since I'm unable to fix them otherwise. I'm pretty verbose in my networking code currently some of the messages can be safely ignored, they are there to make debugging easier.