Using 'poison pill message' for correct termination of delivery thread