Connection.as cleanup