add_function returns the task handle to caller
DB client makes use of task handler for pinging