Fixed threading issue in JsrPartitionHandler