added method to wait for a response without a command