process every connection port for each philosopher