Refactor oom.c to use select(2)
Make oom process die when parent dies