callback while not ready in "write" method

https://github.com/Raynos/data-channel/issues/4