Auto deactivate classpath scanning