Fix listVirtualMachines and returnVMStatus functions
Change timer from 500 to 5000 milliseconds