wait in _handshake_test, to make sure handshake complete. Fixes: #38