added device manager feature - now you can try to reinitialize in case of error