Avoiding zombie processes by correctly working with poll/select.select