Update src/main/java/org/neo4j/rest/graphdb/ExecutingRestRequest.java

I want to propose a change on the toInputStream() method because I think that producer and consumer should leave and run in two different threads.
I used java-rest-biding to execute batch insert and before this change my code was not working. Whit this minor change it seems all right.
Giuseppe