return 0 from worker function whenever there is an error. closing client-proxy connection is done after returning from worker to work_dispatcher. seems that the accept in main does not work...