Improved networking stability and thread safety.