Fixed issue with hanging processes when rlimit isn't sufficient. This is sort of a hack.