[GetLocation][DEV] Close server socket even if client socket is null