Minor changes
* JobExecutedHandlerThread now reselected an entity from the database if a wps exception is occours and checks if no thread was faster than the current thread
* JPA's Optimistic lock strategy removed; used pessimistic lock strategy