Minor changes concerning cancelling of async task