Changed uint32_t to int in close session message

Change-Id: I312abd5faf64dcd0242fd420d35632e06032ff17
Signed-off-by: TanelDettenborn <tanel.dettenborn@gmail.com>