```release-note:bug client: clean up resources upon failure to restore task during client restart ```