wait after sending a command