Do you have $com locked?

//echo -ag $lock(com)

Can you provide code which fails reliably?