on_modified wait for finish