Make this test try to send more times, and slower test packets to the connection. It seems that the connection thread sticks around longer than expected on travis.