Fix UI freeze when changing command timeout