Detaches the current thread from a Java (Dalvik) VM.
A thread must be detached from the VM before exiting.
See Also: Java Native Interface Specification (Oracle)