store.connect() is called from base input operator setup.  Also connection should be made just once not every window.