Don't crash if we try to rebalance while janitor is running
Don't crash if we try to rebalance while janitor is running

We weren't properly calling misc:wait_for_process/2.

Change-Id: If2cea82a4fc750d776e523f1e438180d4c538a20
Reviewed-on: http://review.northscale.com/1187
Reviewed-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

ceejatec/ns_server,ingenthr/ns_server,mschoch/ns_server,daverigby/ns_server,nimishzynga/ns_server,ceejatec/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,ingenthr/ns_server,nimishzynga/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,t3rm1n4l/ns_server,membase/ns_server,vzasade/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,membase/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,vzasade/ns_server,membase/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,ceejatec/ns_server,mschoch/ns_server,pavel-blagodov/ns_server,ingenthr/ns_server,pavel-blagodov/ns_server,ingenthr/ns_server,ceejatec/ns_server,mschoch/ns_server,daverigby/ns_server,daverigby/ns_server,nimishzynga/ns_server,daverigby/ns_server,ceejatec/ns_server,nimishzynga/ns_server,membase/ns_server