single process with poll implementation for server