Prevents erros when trying to close an already closed socket
Version bump