bugfix: do not use biow->n_overlapped outside critical section.
bugfix: forget to check existance of device with the same name.