added 10s waitting time to the USR1 signal_handler