close call.timeout to prevent deadlock.
@@ -64,3 +64,4 @@ Artem Chernyshev <artem.0xD2@gmail.com>
Ference Fu <fym201@msn.com>
LOVOO <opensource@lovoo.com>
nikandfor <nikandfor@gmail.com>
+Anthony Woods <awoods@raintank.io>
@@ -570,6 +570,7 @@ func (c *Conn) exec(req frameWriter, tracer Tracer) (*framer, error) {
select {
case err := <-call.resp:
+ close(call.timeout)
if err != nil {
if !c.Closed() {
// if the connection is closed then we cant release the stream,