close link after all data has been sent.

Resolves the behavior described in #135, but I am unsure what (if anything) needs to be done with the work_queue_worker.