concurrent inference and I/O through socket for plda