fixed an issue where the angular app kept pinging the server if you cancelled too quickly