single process with select implementation for server