#16: added close connections.