changed require once to require for inclusion of middleware in each child process
solved issue with master continuing to read on socket