#13 added num_processes command line option for possibility to start multiple worker processes