fix session timeouted when request to session vm
add api scratch