Clear pages after a process is done