Init serial callback after connect fail to enable proper simulation