Added closing serial command