Closes wallet