Fixed stop/restart PRX bug

Fixed a bug where stopping and restarting the library in SB PRX mode
would fail.