add whenOk and make sure serialport init all when* on startup