Rescue IOError when trying to close read pipe from parent