don't block forever on shutdown