web: add option to disable waiting on close