Lock Connection.Receive() with a mutex

Make receiving goroutine-safe