diff --git a/coolamqp/__init__.py b/coolamqp/__init__.py
index 8d456d3906c5873bdcb68d4b16df744c66f60885..06bcb9d3372d3f620f4c883f3f4a4d05feff51eb 100644
--- a/coolamqp/__init__.py
+++ b/coolamqp/__init__.py
@@ -1,2 +1,2 @@
 # coding=UTF-8
-__version__ = '1.0.6_b1'
+__version__ = '1.0.6_b2'
diff --git a/coolamqp/attaches/utils.py b/coolamqp/attaches/utils.py
index e9a693cf69ee00e7fdf1e775eaf66612f5792d59..b331cd639842cf9c362e421b4250e640aa5bc8d1 100644
--- a/coolamqp/attaches/utils.py
+++ b/coolamqp/attaches/utils.py
@@ -18,6 +18,9 @@ def close_future(fut, span):  # type: (Future, opentracing.Span) -> Future
     except ImportError:
         return fut
 
+    if span is None:
+        return fut
+
     def inner_close(fut):   # type: (Future) -> None
         exc = fut.exception()
         if exc is not None: