Node: Command handler waits for API before making calls.