fixes deadlocks when passed nil as response chan