Multi-threaded server working fine now