close connection when receiving command fails