Discard work older than 60s, fix sync bug with tui thread