Remove old task
Use pending service for refresh publication