Add `ping', to check if the database connection is still alive.