Update src/DD/Network/NetworkSystem.java

modified NetworkSystem to lock