Fix memory leak
From git logs:
Fix possible memory leak and enable StrictMode on sample app
- Close all input streams after using them.
- Enable StrictMode with a policy to shutdown the app and print stack if there is an error.
From git logs:
Fix possible memory leak and enable StrictMode on sample app