Do not send shutdown if no command socket was opened.
Disabled detailed_candidate_stastics for now
Merge pull request #308 from NielsZeilemaker/swift_fix

Do not send shutdown if no command socket was opened.