Check actual conn in_flight before closing trashed conn
Remove unused Connection.id_lock attribute