Improved usage of async task for salvage query