Customize the time to wait to load data from the database.
Auto reconnect when disconnected from server.
Check for auto reconnect inside configuration file.
Added database hostname in the configuration file.
Check if the object is null or not before loading it.
Now connecting on startup and now using reconnect timer if needed.