Only current thread disconnects connection.