Fix deleting queue after send