Set a reconnection delay when reconnecting to the database