Added future to event. Deadlocks in examples/opencl/events_and_futures.cpp