Wait for MongoDB to connect before starting App

Prevents:
  Error: Error setting TTL index on collection : sessions