Fix #1714 (#1716)
Fix #1714 (#1716)

* fix abort call errors out when calling inside stream handler

* handle pending task properly after cleanup

channelcat/sanic,yunstanford/sanic,ashleysommer/sanic,yunstanford/sanic,channelcat/sanic,ashleysommer/sanic,channelcat/sanic,yunstanford/sanic,ashleysommer/sanic,yunstanford/sanic,channelcat/sanic