Fix exception in log file on client disconnect

https://github.com/slush0/stratum-mining-proxy/issues/18