Fixed hanging connection on delete.
Merge pull request #2 from nielsbjerg/master

Fixed hanging connection on delete.