Fixed IE delay when delete database

Hello,

I fixed the delay that comment on Issue #378

The delay is because the deleteDatabase operation is blocked for open request.

The solution is save this open request, an before deleteDatabase, close this request.

I hope that this fix will be usefull.