Made it close connection