Another attempt to make the -USR2 signal work