Better thread syncronization and delegation of SIGINT to worker threads