fixing wait for reboot tasks in common role