Restore callback to setTimeLimit and implement writePidToFile function
Change writePidToFile to echoPidToFile in tests
0.0.8