Well as a followup to this post, I added a TerminateActivity activity following the DisconnectCallActivity inside the goodbye command call flow and that stopped the error from being thrown.
I just don't know if that is the right thing to do. But if someone could explain the situation, I would appreciate it.
Thanks