Fix bug in Queue.Receive code where connection was not being closed.