Changed "unload" ajax request to async.