Notify was called from wrong thread