Make associate in TestTransport wait for the association event linstener. See #3363