Fix raising exception from rescue block (log output of socket state)