Move check for RPC server shutdown.
Move check for RPC server shutdown.

Move the check for RPC server shutdown above accept call, so that it
does execute when stop() was called.

wiggi/huntercoin,domob1812/huntercoin,chronokings/huntercoin,domob1812/huntercoin,wiggi/huntercoin,chronokings/huntercoin,fsb4000/huntercoin,domob1812/huntercoin,chronokings/huntercoin,fsb4000/huntercoin,wiggi/huntercoin,domob1812/huntercoin,wiggi/huntercoin,fsb4000/huntercoin,fsb4000/huntercoin,chronokings/huntercoin