Fixed close connections, Not complete