pending tasks should be considered as pending messages