fixed memory leak in slurmserver.cpp
fixed cancel