void close()
Closes the connection to the underlying data source, but first emits the "conn-to-close" signal.