handle locked clients gracefully, search script content