ofThreadChannel: receive with timeout was throwing an exception