Finalize write to arduino serial