Fix to allow sockets to connect again