Sandy Hook was not his gun but his mothers. So you need to take guns from people related to lunatics.
Or just make it a criminal offense to allow your weapon to fall into the hands of those disqualified from using one. That should provide the incentive for people to store them safely.