pyarb: close tradeapi correctly

Signed-off-by: Victor Shcherbinin <victorshch@gmail.com>
tradeapi: another btce PlacePendingOrders() fix

Signed-off-by: Victor Shcherbinin <victorshch@gmail.com>