refresh added after launching/terminating vm instances by python threading