added another wait() statement to RemoteSubmitIT