database reconnection, and always use DATABASE_URL