scheduler: improve unix socket proxy