bugfix in devices.fn (thx pasarn), rega-crash prevention (detects pending requests on SIGINT and waits for the awnser)