clean api where needed on close connection
clean api where needed on close connection

The breakpoints also have a copy of the api. When a connection was
closed the api remains set in the Store class of breakpoints causing
annoying issues when setting and unsetting breakpoints after initially
debugging.

Fixes #319

Signed-off-by: BlackEagle <6c5c99a37e4dd8841971a4b7c7580d6fcba68554@gmail.com>

Taluu/vdebug,joonty/vdebug,paprykarz/vdebug,Taluu/vdebug,joonty/vdebug,joonty/vdebug,paprykarz/vdebug,paprykarz/vdebug,Taluu/vdebug