You could be running 2 instances at the same time.... you can check with the following command. We want to check the services running and if it does exist - kill the processes that are "locking up"
Check Bitbake Running
ps aux | grep "<username>" | grep "bitbake"
kill -9 <ID_number>
Re-run
bitbake example