Fixes crash after success connection.