always try to fix ownership before starting
refactor run method
simpler close_fds