Index: binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/StaticHandler.cs
===================================================================
--- binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/StaticHandler.cs	(revision 187)
+++ binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/StaticHandler.cs	(revision 189)
@@ -30,6 +30,5 @@
 				byte[] content;
 				if (cache) {
-					Monitor.Enter (fileCache);
-					try {
+					lock (fileCache) {
 						if (!fileCache.ContainsKey (fn)) {
 							if (!File.Exists (datapath + "/" + fn)) {
@@ -41,6 +40,4 @@
 
 						content = fileCache [fn];
-					} finally {
-						Monitor.Exit (fileCache);
 					}
 				} else {
@@ -55,5 +52,5 @@
 				resp.ContentLength64 = content.Length;
 				resp.OutputStream.Write (content, 0, content.Length);
-			} catch (FileNotFoundException e) {
+			} catch (FileNotFoundException) {
 				resp.StatusCode = (int)HttpStatusCode.NotFound;
 				if (logMissingFiles)
