add callback for app#listen