server: Unlock objects_mutex before locking connection_mutex to avoid deadlock