Fixed remote queue to not pop messages when no handlers are registered