             -> [Socket: PollFlags]
         {
             // Now start polling
-            let pollItems = Poller.buildPollItems(sockets: sockets)
+            let pollItems = buildPollItems()
             let intTimeout = (timeout == nil)
                 ? -1
                 : Int(timeout!)

            }

            // Build hash map [Socket: PollFlags]
            let map = buildSocketPollFlagsMap(
                sockets   : sockets,
                pollItems : pollItems
            )

            // Cleanup poll items
            pollItems.deallocate(capacity: sockets.count)

            Build socket to poll flags map from provided sockets and poll items
         */
        private func buildSocketPollFlagsMap(
            pollItems : UnsafeMutablePointer<zmq_pollitem_t>
        ) -> [Socket: PollFlags]
        {
