add the reset of the command id generator in the init method

Change-Id: I6bd6d6a0fce25c19ac2b9879b8bf09eb18477aee