Dont continue if session return null.

Signed-off-by: crynobone <crynobone@gmail.com>