Set pool socket to INVSOCK after closing connection, just in case
Merge commit '79e2920' into bfgminer-2.10.x