Make database keep connection alive.