socket options fix for zthread_fork
more socket options to fix freezes on exit