version 1.1.3 * call handle_expired_children before checking child count rather than after * select timeout after 5 seconds to ensure calling handle_expired_children regularly (might not be needed)