Sadly I don't have two S60 devices to test on, unless there's some way I can get my phone to connect to itself via Bluetooth. It might be that you have to bypass OBEX, and use the low-level RFCOMM interface.
Originally Posted by ra.ravi.rav
With regards to the threading issue, you can 'kill' one thread from another like this:
import e32, thread
thread2running = True
thread2running = False