serial writing command finished