Send an interrupt to the collector thread so it will stop if it is currently sleeping.