[fix] Have the .write method call a callback as the response might be queued causing the `done` method never to be called.

cc @swaagie

You never got hit by this bug?