fix traceback on tf.send in worker