WFS call working but not asynchronously