Got a segfault right here for some reason... (cleanup_pipe)