mcapi_msg_send returns MCAPI_ERR_WAIT_PENDING

We are using ADSP-SC589 processor. The mcapi_msg_send is a blocking function. However, in debug mode (using JTAG) it returns without blocking with the status MCAPI_ERR_WAIT_PENDING. How is that? Whan am I missing?