Checking queues array length in BackgroundJobServer, fixes #27
Bump version to 0.5.2