Fix a problem where sometimes SDK don't initialise itself when used in lazy mode.