Revert "trying to export a pooled connection"

This reverts commit 33ae844990c54019b1a77ef5ceef3a517760733c.
Fixed modules.export issue