It doesn't hang. The backtrace shows that it is waiting on the socket for new rpc commands.
The kamcmd error suggests that the module doesn't have enough space in its response buffer to write all the records -- see the buffer related params in the ctl readme, likely you need to increase their values.
As alternative, you can use jsonrpcs module with kamctl and do:
``` kamctl rpc cr.reload_routes kamctl rpc cr.dump_routes ``` jsonrpcs should not use a static internal buffer and should work out of the box.