Adds reconnect true for database connection.