Creates a new EventWaiter for the given request. Sets whether it
should let the VM go after it got the event.
Parameters: request - Parameters: shouldGo -
Waits for the first event corresponding to this waiter's request
for the given time (in ms). If it times out, return null.
Parameters: time - if the vm should be restarted or not throws: InterruptedException -