added slf4j-jdk14 dependency and destroy method in network handler