Ticket 48217 - cleanallruv - fix regression with server shutdown
Bug Description: Recent checks for server shutdown were added to cleanallruv task,
but we did not properly check for "shutdown" at the end of the task.
This caused the server to think the task successfully finished,
when in fact it did not.
Fix Description: Properly check for shutdown at the end of the task, and handler it
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit c41d36de0ca438bf23e4e810bfec0fd59cbc790b)