version 0.0.7: add setTimeout feature