protected function removeActiveConnection(ConnectionInterface $connection) { if ($this->activeConnections) { $this->activeConnections->detach($connection); } }