Cleanup node server during more cases of functioanl test fail