Added kill method to queue

This method removes the drain function and empties out the tasks array.