Android - Try Catch NoClassDefFoundError and IllegalStateException in terminateProcess()