reverted sending currents, and removed write_fds from pselect