Towards real-time contrast control for direct exoplanet imaging with adaptive optics