Restore suspend catch the wrong exception

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>