Added updatable_timer sample based on the Java one.
It demonstrates how to use workflow.wait_condition with a timeout. How to update the sleep interval is a FAQ.
workflow.wait_condition