Prevented Receive() deadlocking on closure.