Make scheduler wait for drain if connection.write() returns false.