set process to none in case of subprocess error