change visibility of method executeWaitServerCommand to public