Gracefully reconnecting with the Go driver

For others: A list of errors can be found here: mongo/error_codes.yml at master · mongodb/mongo · GitHub

Also, the error can be asserted as a mongo.CommandError: Issue of creating index with default name using Go driver - #2 by Divjot_Arora .