Make use of connectionListener arg passed to createConnection.