diff --git a/src/Test/WebSockets/Simple.hs b/src/Test/WebSockets/Simple.hs
--- a/src/Test/WebSockets/Simple.hs
+++ b/src/Test/WebSockets/Simple.hs
@@ -14,7 +14,7 @@
 import Control.Monad.Trans.Control (MonadBaseControl (..))
 import Control.Concurrent.Async (Async, async)
 import Control.Concurrent.STM (atomically)
-import Control.Concurrent.STM.TChan (TChan, newTChanIO, writeTChan, readTChan)
+import Control.Concurrent.STM.TChan (TChan, newTChan, writeTChan, readTChan)
 
 
 
@@ -27,7 +27,7 @@
              -> WebSocketsApp receive send m
              -> m (Async (), Async (), TChan send, TChan receive)
 runConnected sendsSreceivesR sendsRreceivesS = do
-  (sendChan, receiveChan) <- liftIO $ (,) <$> newTChanIO <*> newTChanIO
+  (sendChan, receiveChan) <- liftIO $ atomically $ (,) <$> newTChan <*> newTChan
 
   let sendToSend :: send -> m ()
       sendToSend s = liftIO $ atomically $ writeTChan sendChan s
diff --git a/websockets-simple.cabal b/websockets-simple.cabal
--- a/websockets-simple.cabal
+++ b/websockets-simple.cabal
@@ -1,5 +1,5 @@
 name:                websockets-simple
-version:             0.0.6
+version:             0.0.6.1
 synopsis:            Simpler interface to the websockets api
 -- description:
 homepage:            https://github.com/athanclark/websockets-simple#readme
@@ -26,6 +26,7 @@
                      , exceptions
                      , monad-control
                      , stm
+                     , transformers
                      , wai-transformers
                      , websockets >= 0.11
   default-language:    Haskell2010
