revert "531f5d3 remove global_lock for save_handler()"