Fix connection problems when command line adb is already running.

Fixes #17

The pipes are left in a bad state after we tell command line adb to die. This is same problem I ran into when starting and stopping our library multiple times.

The nulled out handle will prevent crashes if the handle goes bad in the future and it is freed.