Redirecting pipes to /dev/null instead of closing them on start