detect if bitmaskd is running

Right now if bitmaskd is not running the send command waits for ever.