Check client socket connection & set account offline on any disconnect. Fixes #57