Start by upgrading the TFS, and then all TF library instances on that machine. Then try again. If you're still having problems try to create a reproducible example.
Also, don't mix-and-match TF library versions. Your app on any particular machine should all use the same (preferably the newest) version of the TF library. Don't have some instances use old TF library versions and some use new TF library versions.
The consequence of mixing-and-matching? TF_E_CLIENT_IPC (or other errors, depending on the circumstances).