Add proper shutdown to Blackberry (untested)

@xsacha