Making server proxy thread safe.