Fix for w3af gui Attempt to unlock mutex that was not locked #5528