Avoid close ConnectionActive in different connections.