use write_wait instead of write and sleep
works with funl subscriptions
release 0.9

* basic support for subscriptions