You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The close call will wait for the connection to open thus voiding the context timeout.
@TheDiscordian reported that putting the close into a new goroutine worked.
I think this is because we unbind the OnOpen listener when returning from dial and thus c.Close errors out instead of waiting for the connection to succeed.