Added abort function to sync's returned promise, to comply with xmlhttprequest
merged add-promise-abort