updated to use async rpc call; fixed pool check

Revert "move stop mining handler out of notfn handler"

This reverts commit 1bffdfafcc92a3e28c464528ce5182e5c7ad6486.

Conflicts:

	sim.go