Close session when UploadKeyError occurs
Close session when UploadKeyError occurs

When the upload of the user key fails (i.e. Timeout), the session was being held
in memory, preventing the user from trying again.

Related with: #815, #889

pixelated-project/pixelated-user-agent,pixelated/pixelated-user-agent,pixelated-project/pixelated-user-agent,pixelated/pixelated-user-agent,pixelated-project/pixelated-user-agent,pixelated/pixelated-user-agent,pixelated/pixelated-user-agent,pixelated-project/pixelated-user-agent,pixelated/pixelated-user-agent,pixelated-project/pixelated-user-agent