Golang driver interrupted operation

Hello.

When i’m trying to do even basic operations with MongoDB client server logs contain following messages:

Interrupted operation as its client disconnected

For example, if you run this code:

func main() {
	mongo_opts := options.Client().ApplyURI("mongodb://username:password@host:27017/?authSource=admin").
 		SetSocketTimeout(1000 * time.Millisecond).
 		SetConnectTimeout(1000 * time.Millisecond).
 		SetServerSelectionTimeout(1000 * time.Millisecond)
 	ctx, cancel_ctx := context.WithTimeout(context.Background(), 5*time.Second)
 	defer cancel_ctx()

 	client, err := mongo.Connect(ctx, mongo_opts)
 	if err != nil {
 		panic(err)
 	}

 	if err := client.Ping(ctx, nil); err != nil {
 		panic(err)
	}
 }

MongoDB log contains something like this:

{“t”:{"$date":“2021-05-31T16:47:18.498+03:00”},“s”:“I”, “c”:“NETWORK”, “id”:51800, “ctx”:“conn34943”,“msg”:“client metadata”,“attr”:{“remote”:“X.X.X.X:57030”,“client”:“conn34943”,“doc”:{“driver”:{“name”:“mongo-go-driver”,“version”:“v1.5.2”},“os”:{“type”:“linux”,“architecture”:“amd64”},“platform”:“go1.16.4”}}}

{“t”:{"$date":“2021-05-31T16:47:18.498+03:00”},“s”:“I”, “c”:“NETWORK”, “id”:51800, “ctx”:“conn34944”,“msg”:“client metadata”,“attr”:{“remote”:“X.X.X.X:57032”,“client”:“conn34944”,“doc”:{“driver”:{“name”:“mongo-go-driver”,“version”:“v1.5.2”},“os”:{“type”:“linux”,“architecture”:“amd64”},“platform”:“go1.16.4”}}}

{“t”:{"$date":“2021-05-31T16:47:18.557+03:00”},“s”:“I”, “c”:"-", “id”:20883, “ctx”:“conn34943”,“msg”:“Interrupted operation as its client disconnected”,“attr”:{“opId”:9866808}}

All queries work just fine, but i’m concerned about error messages in our logs.

Mongo version: 4.4.6
mongo-go-driver: 1.5.2