//Verify if the thread is on the session for this given request id
if ( servletContext.getAttribute( "integrityDataGeneratorThread_" + requestId ) != null ) {
//If found interrupt the process
IntegrityDataGeneratorThread integrityDataGeneratorThread = (IntegrityDataGeneratorThread) servletContext.getAttribute( "integrityDataGeneratorThread_" + requestId );
integrityDataGeneratorThread.interrupt();
servletContext.removeAttribute( "integrityDataGeneratorThread_" + requestId );
return Response.status( HttpStatus.SC_RESET_CONTENT ).entity( "Interrupted checking process on End Point server ( " + remoteIP + ")." ).build();
}
default: