How to fix MongoServerSelectionError: connection <monitor> to <host> closed in MongoDB | DevErrors